//
//  UIViewController+Extend.h
//  RMMaterialRed
//
//  Created by XBWH on 2024/3/7.
//

#import <UIKit/UIKit.h>
#import "RBPopoverMacro.h"
#import "RBPopoverAnimator.h"
NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (Extend)
///导航栏高度
-(CGFloat)RBNavigationBarH;
///Tabbar高度
-(CGFloat)RBTabBarH;
///状态栏高度
-(CGFloat)RBStatusBarH;

@property(strong,nonatomic)RBPopoverAnimator *popoverAnimator;
- (void)rb_bottomPresentController:(UIViewController *)vc presentedHeight:(CGFloat)height completeHandle:(RBCompleteHandle)completion;
- (void)rb_bottomPresentController:(UIViewController *)vc
                             alpha:(CGFloat)alpha presentedHeight:(CGFloat)height completeHandle:(RBCompleteHandle)completion;
- (void)rb_centerPresentController:(UIViewController *)vc presentedSize:(CGSize)size completeHandle:(RBCompleteHandle)completion;
- (void)rb_centerPresentController:(UIViewController *)vc alpha:(CGFloat)alpha
                     presentedSize:(CGSize)size completeHandle:(RBCompleteHandle)completion;
@end

NS_ASSUME_NONNULL_END
